<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/cases/hear/";  //应用的地址名
String hearRegActionName = basePath+"CaseSourceHear_hearReg.action";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>审理情况登记</title>
<script type="text/javascript">
<!--
           $(function(){
            
               $('#hearPerson').validatebox({
                   required:'true',
                   missingMessage:'请输入审理人员',
                   validType:'length[1,50]'
               });
               $('#hearDate').validatebox({
                   required:'true',
                   missingMessage:'请选择提交审理时间'
               });
             
	           //点击添加按钮操作
			   $('#addBtn').click(function(){
                  $('#editForm').submit();
	            });
	            //表单验证及提交处理操作
	           $('#editForm').form({
			        url:'<%=hearRegActionName%>',
			        onSubmit: function(){
			           if($(this).form('validate')){
			                 $.util.showLoading();
			                 $('#operateWindow').window('close');
                            return true;
			             }else{
			                return false;
			             }
			        },
			        success:function(data){
			            $.util.removeLoading();
                        returnOptMsg(data);
			        }
				});
	            
           });
//-->
</script>
  </head>
  <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
    <s:form action="editForm" method="post">
    <s:hidden name="po.vcId"/>
    <s:hidden name="po.caseId"/>
	<table align="center" class="tb_add_th" width="100%">
		<tr><th height="30px;">案源编号:</th><td><s:hidden name="po.caseNumber"/><s:property value="po.caseNumber"/></td>
		    <th>企业名称:</th><td><s:hidden name="po.enterprice"/><s:property value="po.enterprice"/></td>
		</tr>
		<tr><th height="30px;">审理人员:</th><td><s:textfield id="hearPerson"  name="po.hearPerson" style="width:120px;"/></td>
		    <th>提交审理时间:</th><td><input type="text" id="hearDate"  name="po.hearDate" value="<s:date name="po.hearDate" format="yyyy-MM-dd"/>" style="width:120px;" class="Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/></td>
		</tr>
		<tr><th height="30px;">是否重审:</th><td><s:radio list="#{1:'是',0:'否'}"     name="po.isRetrial"/></td>
		    <th>申请市局合议:</th><td><s:radio list="#{1:'是',0:'否'}" name="po.isCollegiate"/></td>
		</tr>
		<tr><th height="30px;">是否听证:</th><td><s:radio list="#{1:'是',0:'否'}" name="po.isHearing"/></td>
		<th>是否发票违法:</th><td><s:radio list="#{1:'是',0:'否'}" name="po.isFpwf"/></td>
		</tr>
		<!-- 
		<tr><th>案件名称:</th><td><s:textfield id="caseName"  name="drawPo.caseName" style="width:200px;"/></td>
			<th>承办单位:</th><td><s:textfield id="organizerDept"  name="drawPo.organizerDept" /></td>
		</tr>
		 -->
		<tr><th>所属时间:</th><td><input type="text" id="caseDate"  name="drawPo.caseDate" value="<s:date name="drawPo.caseDate" format="yyyy-MM-dd"/>" class="Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" style="width:120px;"/>~<input type="text" id="caseDate2"  name="drawPo.caseDate2" value="<s:date name="drawPo.caseDate2" format="yyyy-MM-dd"/>" class="Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" style="width:120px;"/></td>
		    <th>涉案金额:</th><td><s:textfield id="involvedMoney"  name="drawPo.involvedMoney" /></td>
		</tr>
		<!-- 
		<tr><th>案情简述:</th><td colspan="3"><s:textarea id="caseDescribe"  name="drawPo.caseDescribe" style="height:210px;width:410px;"/></td></tr>
		 -->
		<tr><th>批准人:</th><td><s:textfield id="approver"  name="drawPo.approver" /></td>
		    <th>批准时间:</th><td><input type="text" id="approvalDate"  name="drawPo.approvalDate" value="<s:date name="drawPo.approvalDate" format="yyyy-MM-dd"/>" class="Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"/></td>
		</tr>
		
	</table>    
	
	
   </s:form>
  </body>
</html>

